package com.gdit.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.gdit.comm.enums.Status;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * 班级
 * @author lhc
 * @since 2021-09-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_class")
@ApiModel(value="Class对象", description="")
public class Class implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "班级号")
    private String classNo;

    @ApiModelProperty(value = "班级名")
    private String className;

    @ApiModelProperty(value = "班级人数")
    private Integer number;

    @ApiModelProperty(value = "班级教室位置")
    private String classRoomLocation;

    @ApiModelProperty(value = "班主任")
    private String teacherId;

    @ApiModelProperty(value = "状态，默认为0，0为正常")
    @TableLogic(value = "0",delval = "1")
    private Status status;

    @ApiModelProperty(value = "年级id")
    private String gradeId;


}
